<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Pin: IMG: Image Object</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Pin
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">IMG: Image Object<div class="ingroups"><a class="el" href="group__API__REF.html">Instrumentation API Reference</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga7d103a7d0bfc05892cdf2f9d39df9eba"><td class="memItemLeft" align="right" valign="top">typedef VOID(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga7d103a7d0bfc05892cdf2f9d39df9eba">IMAGECALLBACK</a>) (IMG, VOID *)</td></tr>
<tr class="separator:ga7d103a7d0bfc05892cdf2f9d39df9eba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga94a20481f21c96ad7ad5147b5148ecb0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga94a20481f21c96ad7ad5147b5148ecb0">IMG_TYPE</a> { <br />
&#160;&#160;<b>IMG_TYPE_INVALID</b>, 
<br />
&#160;&#160;<a class="el" href="group__IMG.html#gga94a20481f21c96ad7ad5147b5148ecb0ad7ea6bb76b9027bf3f8a8d99adcbf45e">IMG_TYPE_STATIC</a>, 
<br />
&#160;&#160;<a class="el" href="group__IMG.html#gga94a20481f21c96ad7ad5147b5148ecb0ac7dfdb22b5113a095fec98fc5483082e">IMG_TYPE_SHARED</a>, 
<br />
&#160;&#160;<a class="el" href="group__IMG.html#gga94a20481f21c96ad7ad5147b5148ecb0a0b07c853ba687a921ec7b32cc014aed4">IMG_TYPE_SHAREDLIB</a>, 
<br />
&#160;&#160;<a class="el" href="group__IMG.html#gga94a20481f21c96ad7ad5147b5148ecb0af0b26bb2a24a7def210320ec1b22225e">IMG_TYPE_RELOCATABLE</a>, 
<br />
&#160;&#160;<a class="el" href="group__IMG.html#gga94a20481f21c96ad7ad5147b5148ecb0a297b15b21cd9774445e56fa84831191c">IMG_TYPE_DYNAMIC_CODE</a>, 
<br />
&#160;&#160;<a class="el" href="group__IMG.html#gga94a20481f21c96ad7ad5147b5148ecb0a9a261f2bd6736dac0e117509c5cc7c23">IMG_TYPE_API_CREATED</a>, 
<br />
&#160;&#160;<b>IMG_TYPE_LAST</b>
<br />
 }</td></tr>
<tr class="separator:ga94a20481f21c96ad7ad5147b5148ecb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga38ea70f6ce2ffef5488aefbcc5494bce"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga38ea70f6ce2ffef5488aefbcc5494bce">IMG_PROPERTY</a> { <br />
&#160;&#160;<b>IMG_PROPERTY_INVALID</b>, 
<br />
&#160;&#160;<a class="el" href="group__IMG.html#gga38ea70f6ce2ffef5488aefbcc5494bceaa22c98dad57958fdc204f8c967d2a2e6">IMG_PROPERTY_SHSTK_ENABLED</a>, 
<br />
&#160;&#160;<a class="el" href="group__IMG.html#gga38ea70f6ce2ffef5488aefbcc5494bceab9c7023a95eb0a6b486c996ca06b46f8">IMG_PROPERTY_IBT_ENABLED</a>, 
<br />
&#160;&#160;<b>IMG_PROPERTY_LAST</b>
<br />
 }</td></tr>
<tr class="separator:ga38ea70f6ce2ffef5488aefbcc5494bce"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gacba3766aac7698896fdb8b02df2a283e"><td class="memItemLeft" align="right" valign="top">IMG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gacba3766aac7698896fdb8b02df2a283e">IMG_Next</a> (IMG img)</td></tr>
<tr class="separator:gacba3766aac7698896fdb8b02df2a283e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaa82261cabe74bad0613c43d2346a5cd"><td class="memItemLeft" align="right" valign="top">IMG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gaaa82261cabe74bad0613c43d2346a5cd">IMG_Prev</a> (IMG img)</td></tr>
<tr class="separator:gaaa82261cabe74bad0613c43d2346a5cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab591ec18986fb117120a714f06a35942"><td class="memItemLeft" align="right" valign="top">IMG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gab591ec18986fb117120a714f06a35942">IMG_Invalid</a> ()</td></tr>
<tr class="separator:gab591ec18986fb117120a714f06a35942"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga231a58e55838a4d4cbce3f7c0bfa9f0a"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga231a58e55838a4d4cbce3f7c0bfa9f0a">IMG_Valid</a> (IMG img)</td></tr>
<tr class="separator:ga231a58e55838a4d4cbce3f7c0bfa9f0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f97057faee2f7ed7e23b88b339f62f8"><td class="memItemLeft" align="right" valign="top">SEC&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga2f97057faee2f7ed7e23b88b339f62f8">IMG_SecHead</a> (IMG img)</td></tr>
<tr class="separator:ga2f97057faee2f7ed7e23b88b339f62f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad01a20a588a5110b1bb1361eb60eb166"><td class="memItemLeft" align="right" valign="top">SEC&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gad01a20a588a5110b1bb1361eb60eb166">IMG_SecTail</a> (IMG img)</td></tr>
<tr class="separator:gad01a20a588a5110b1bb1361eb60eb166"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d7ae0d04e4da064200e61750c2677ac"><td class="memItemLeft" align="right" valign="top">SYM&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga2d7ae0d04e4da064200e61750c2677ac">IMG_RegsymHead</a> (IMG img)</td></tr>
<tr class="separator:ga2d7ae0d04e4da064200e61750c2677ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab35f17d40de6a4ecc51db591354d7841"><td class="memItemLeft" align="right" valign="top">ADDRINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gab35f17d40de6a4ecc51db591354d7841">IMG_EntryAddress</a> (IMG img)</td></tr>
<tr class="separator:gab35f17d40de6a4ecc51db591354d7841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f3f8677449add4d0379b5424f5dcfd9"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga4f3f8677449add4d0379b5424f5dcfd9">IMG_HasProperty</a> (IMG img, <a class="el" href="group__IMG.html#ga38ea70f6ce2ffef5488aefbcc5494bce">IMG_PROPERTY</a> property)</td></tr>
<tr class="separator:ga4f3f8677449add4d0379b5424f5dcfd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab3bddc2c79c3879f91e61a11c2401f05"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gab3bddc2c79c3879f91e61a11c2401f05">IMG_Name</a> (IMG img)</td></tr>
<tr class="separator:gab3bddc2c79c3879f91e61a11c2401f05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4b4e29c1e70d42071380597aafd08a8"><td class="memItemLeft" align="right" valign="top">ADDRINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gab4b4e29c1e70d42071380597aafd08a8">IMG_Gp</a> (IMG img)</td></tr>
<tr class="separator:gab4b4e29c1e70d42071380597aafd08a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad01265ee1c2e8f4779092dae99bb2ee4"><td class="memItemLeft" align="right" valign="top">ADDRINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gad01265ee1c2e8f4779092dae99bb2ee4">IMG_LoadOffset</a> (IMG img)</td></tr>
<tr class="separator:gad01265ee1c2e8f4779092dae99bb2ee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafb09205aa6b44d2b9302fc1e422c3d75"><td class="memItemLeft" align="right" valign="top">ADDRINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gafb09205aa6b44d2b9302fc1e422c3d75">IMG_LowAddress</a> (IMG img)</td></tr>
<tr class="separator:gafb09205aa6b44d2b9302fc1e422c3d75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga83595d9924300a59f727626ca9b8e88d"><td class="memItemLeft" align="right" valign="top">ADDRINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga83595d9924300a59f727626ca9b8e88d">IMG_HighAddress</a> (IMG img)</td></tr>
<tr class="separator:ga83595d9924300a59f727626ca9b8e88d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2299d042776b36435d4240a0363c28a"><td class="memItemLeft" align="right" valign="top">ADDRINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gae2299d042776b36435d4240a0363c28a">IMG_StartAddress</a> (IMG img)</td></tr>
<tr class="separator:gae2299d042776b36435d4240a0363c28a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76799de259e3c3b0873a9d4c81745e1c"><td class="memItemLeft" align="right" valign="top">USIZE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga76799de259e3c3b0873a9d4c81745e1c">IMG_SizeMapped</a> (IMG img)</td></tr>
<tr class="separator:ga76799de259e3c3b0873a9d4c81745e1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga987423843679af4f9d3c33b22ddec5af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__IMG.html#ga94a20481f21c96ad7ad5147b5148ecb0">IMG_TYPE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga987423843679af4f9d3c33b22ddec5af">IMG_Type</a> (IMG img)</td></tr>
<tr class="separator:ga987423843679af4f9d3c33b22ddec5af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2be7f100f47a86fadee6d0d65641e0c0"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga2be7f100f47a86fadee6d0d65641e0c0">IMG_IsMainExecutable</a> (IMG x)</td></tr>
<tr class="separator:ga2be7f100f47a86fadee6d0d65641e0c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga13e68ba11d7f7922750167713cae89bd"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga13e68ba11d7f7922750167713cae89bd">IMG_hasLinesData</a> (IMG x)</td></tr>
<tr class="separator:ga13e68ba11d7f7922750167713cae89bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5b0db709955ea80522d6a6355a3a1f40"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga5b0db709955ea80522d6a6355a3a1f40">IMG_IsInterpreter</a> (IMG x)</td></tr>
<tr class="separator:ga5b0db709955ea80522d6a6355a3a1f40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ce8a798f255f0f5f9bc4763ac73ae79"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga8ce8a798f255f0f5f9bc4763ac73ae79">IMG_IsStaticExecutable</a> (IMG x)</td></tr>
<tr class="separator:ga8ce8a798f255f0f5f9bc4763ac73ae79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78ab192435225bca4332a518af45a6bc"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga78ab192435225bca4332a518af45a6bc">IMG_IsVDSO</a> (IMG img)</td></tr>
<tr class="separator:ga78ab192435225bca4332a518af45a6bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf5fbd7cd458878d79b0fc54615fcf851"><td class="memItemLeft" align="right" valign="top">UINT32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gaf5fbd7cd458878d79b0fc54615fcf851">IMG_NumRegions</a> (IMG img)</td></tr>
<tr class="separator:gaf5fbd7cd458878d79b0fc54615fcf851"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf67b1793bdcc17e3ba1283adb79baf47"><td class="memItemLeft" align="right" valign="top">ADDRINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gaf67b1793bdcc17e3ba1283adb79baf47">IMG_RegionHighAddress</a> (IMG img, UINT32 n)</td></tr>
<tr class="separator:gaf67b1793bdcc17e3ba1283adb79baf47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad39ae770c8ef64ac89ddf46f68fa9398"><td class="memItemLeft" align="right" valign="top">ADDRINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gad39ae770c8ef64ac89ddf46f68fa9398">IMG_RegionLowAddress</a> (IMG img, UINT32 n)</td></tr>
<tr class="separator:gad39ae770c8ef64ac89ddf46f68fa9398"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac668f1d1f428a27bb860df384b54f589"><td class="memItemLeft" align="right" valign="top">UINT32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gac668f1d1f428a27bb860df384b54f589">IMG_Id</a> (IMG x)</td></tr>
<tr class="separator:gac668f1d1f428a27bb860df384b54f589"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3a7305685873fd2f1459bb9b57252746"><td class="memItemLeft" align="right" valign="top">VOID *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga3a7305685873fd2f1459bb9b57252746">IMG_DynamicRawData</a> (IMG img)</td></tr>
<tr class="separator:ga3a7305685873fd2f1459bb9b57252746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac39eff1de20a6acbcecc203f5075d825"><td class="memItemLeft" align="right" valign="top">IMG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gac39eff1de20a6acbcecc203f5075d825">IMG_FindImgById</a> (UINT32 id)</td></tr>
<tr class="separator:gac39eff1de20a6acbcecc203f5075d825"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae21bb2ba431c4dd7964736c8102e656e"><td class="memItemLeft" align="right" valign="top">IMG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gae21bb2ba431c4dd7964736c8102e656e">IMG_FindByAddress</a> (ADDRINT address)</td></tr>
<tr class="separator:gae21bb2ba431c4dd7964736c8102e656e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a067152140ead3e23279ab2bd6cd723"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__PIN__CALLBACKS.html#ga80ecde10e25aa90133f29e875d21d61d">PIN_CALLBACK</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga4a067152140ead3e23279ab2bd6cd723">IMG_AddInstrumentFunction</a> (<a class="el" href="group__IMG.html#ga7d103a7d0bfc05892cdf2f9d39df9eba">IMAGECALLBACK</a> fun, VOID *v)</td></tr>
<tr class="separator:ga4a067152140ead3e23279ab2bd6cd723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4717fe8d7cd73c9efe6a414897ad96a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__PIN__CALLBACKS.html#ga80ecde10e25aa90133f29e875d21d61d">PIN_CALLBACK</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga4717fe8d7cd73c9efe6a414897ad96a3">IMG_AddUnloadFunction</a> (<a class="el" href="group__IMG.html#ga7d103a7d0bfc05892cdf2f9d39df9eba">IMAGECALLBACK</a> fun, VOID *v)</td></tr>
<tr class="separator:ga4717fe8d7cd73c9efe6a414897ad96a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0a2ed1c58e7215da29194d1800ceee86"><td class="memItemLeft" align="right" valign="top">IMG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga0a2ed1c58e7215da29194d1800ceee86">IMG_Open</a> (const std::string &amp;filename)</td></tr>
<tr class="separator:ga0a2ed1c58e7215da29194d1800ceee86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga93a7a90e8bba62212028ed33bbfe83b2"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga93a7a90e8bba62212028ed33bbfe83b2">IMG_Close</a> (IMG img)</td></tr>
<tr class="separator:ga93a7a90e8bba62212028ed33bbfe83b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58c32c83de8c12d086286a5cf6c7fee8"><td class="memItemLeft" align="right" valign="top">IMG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#ga58c32c83de8c12d086286a5cf6c7fee8">APP_ImgHead</a> ()</td></tr>
<tr class="separator:ga58c32c83de8c12d086286a5cf6c7fee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad77f6e89bae77270f990e7564f885dab"><td class="memItemLeft" align="right" valign="top">IMG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__IMG.html#gad77f6e89bae77270f990e7564f885dab">APP_ImgTail</a> ()</td></tr>
<tr class="separator:gad77f6e89bae77270f990e7564f885dab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>An IMG represents all the data structures corresponding to a binary (executable). Can be accessed at instrumentation time and analysis time. Note: Shared libraries are also represented by the IMG abstraction. Moreover, the IMG objects are created in a lazy fashion. Only if a shared library is loaded and IMG is created. Over the lifetime of a process the number IMG objects created may hence increase.<br  />
APIs from this group are available in any thread, including any internal thread spawned by the tool.</p>
<p>Example tools:</p>
<p><a class="el" href="index.html#ImageLoad">Detecting the Loading and Unloading of Images (Image Instrumentation)</a></p>
<p>Iteration idioms:</p>
<div class="fragment"><div class="line"><span class="comment">// Visit every loaded image</span></div>
<div class="line"><span class="keywordflow">for</span>( IMG img= <a class="code" href="group__IMG.html#ga58c32c83de8c12d086286a5cf6c7fee8">APP_ImgHead</a>(); <a class="code" href="group__IMG.html#ga231a58e55838a4d4cbce3f7c0bfa9f0a">IMG_Valid</a>(img); img = <a class="code" href="group__IMG.html#gacba3766aac7698896fdb8b02df2a283e">IMG_Next</a>(img) )</div>
</div><!-- fragment --> <h2 class="groupheader">Typedef Documentation</h2>
<a id="ga7d103a7d0bfc05892cdf2f9d39df9eba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7d103a7d0bfc05892cdf2f9d39df9eba">&#9670;&nbsp;</a></span>IMAGECALLBACK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef VOID(* IMAGECALLBACK) (IMG, VOID *)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Type of function to be called when an image is loaded </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga38ea70f6ce2ffef5488aefbcc5494bce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga38ea70f6ce2ffef5488aefbcc5494bce">&#9670;&nbsp;</a></span>IMG_PROPERTY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__IMG.html#ga38ea70f6ce2ffef5488aefbcc5494bce">IMG_PROPERTY</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Properties available for an image. Typically defined as meta data within the image. May define some specific hardware that is used or needed or some features enabled by the image. Property may be OS/CPU specific. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga38ea70f6ce2ffef5488aefbcc5494bceaa22c98dad57958fdc204f8c967d2a2e6"></a>IMG_PROPERTY_SHSTK_ENABLED&#160;</td><td class="fielddoc"><p>CET shadow stack enabled. Supported only for Linux </p>
</td></tr>
<tr><td class="fieldname"><a id="gga38ea70f6ce2ffef5488aefbcc5494bceab9c7023a95eb0a6b486c996ca06b46f8"></a>IMG_PROPERTY_IBT_ENABLED&#160;</td><td class="fielddoc"><p>CET indirect branch tracking enabled. Supported only for Linux </p>
</td></tr>
</table>

</div>
</div>
<a id="ga94a20481f21c96ad7ad5147b5148ecb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga94a20481f21c96ad7ad5147b5148ecb0">&#9670;&nbsp;</a></span>IMG_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__IMG.html#ga94a20481f21c96ad7ad5147b5148ecb0">IMG_TYPE</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This file contains IMG primitives </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga94a20481f21c96ad7ad5147b5148ecb0ad7ea6bb76b9027bf3f8a8d99adcbf45e"></a>IMG_TYPE_STATIC&#160;</td><td class="fielddoc"><p>Main image, linked with -static. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga94a20481f21c96ad7ad5147b5148ecb0ac7dfdb22b5113a095fec98fc5483082e"></a>IMG_TYPE_SHARED&#160;</td><td class="fielddoc"><p>Main image, linked against shared libraries. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga94a20481f21c96ad7ad5147b5148ecb0a0b07c853ba687a921ec7b32cc014aed4"></a>IMG_TYPE_SHAREDLIB&#160;</td><td class="fielddoc"><p>Shared library or main image linked with -pie. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga94a20481f21c96ad7ad5147b5148ecb0af0b26bb2a24a7def210320ec1b22225e"></a>IMG_TYPE_RELOCATABLE&#160;</td><td class="fielddoc"><p>Relocatble object (.o file) </p>
</td></tr>
<tr><td class="fieldname"><a id="gga94a20481f21c96ad7ad5147b5148ecb0a297b15b21cd9774445e56fa84831191c"></a>IMG_TYPE_DYNAMIC_CODE&#160;</td><td class="fielddoc"><p>Dynamically created code. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga94a20481f21c96ad7ad5147b5148ecb0a9a261f2bd6736dac0e117509c5cc7c23"></a>IMG_TYPE_API_CREATED&#160;</td><td class="fielddoc"><p>Artificial image created by <a class="el" href="group__REPLAY.html#gadd939297fe51b34aedcbcb8b627a89f2">IMG_CreateAt</a> () </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga58c32c83de8c12d086286a5cf6c7fee8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga58c32c83de8c12d086286a5cf6c7fee8">&#9670;&nbsp;</a></span>APP_ImgHead()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IMG APP_ImgHead </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>The first image loaded into memory</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gad77f6e89bae77270f990e7564f885dab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad77f6e89bae77270f990e7564f885dab">&#9670;&nbsp;</a></span>APP_ImgTail()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IMG APP_ImgTail </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>The last image loaded into memory</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga4a067152140ead3e23279ab2bd6cd723"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a067152140ead3e23279ab2bd6cd723">&#9670;&nbsp;</a></span>IMG_AddInstrumentFunction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__PIN__CALLBACKS.html#ga80ecde10e25aa90133f29e875d21d61d">PIN_CALLBACK</a> IMG_AddInstrumentFunction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__IMG.html#ga7d103a7d0bfc05892cdf2f9d39df9eba">IMAGECALLBACK</a>&#160;</td>
          <td class="paramname"><em>fun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">VOID *&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Use this to register a call back to catch the loading of an image </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fun</td><td>Instrumentation function for images, it is passed an image and v </td></tr>
    <tr><td class="paramname">v</td><td>the value of to pass to fun when an image is loaded</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>PIN_CALLBACK A handle to a callback that can be used to further modify this callback's properties</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The pin client lock is obtained during the call of this API.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga4717fe8d7cd73c9efe6a414897ad96a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4717fe8d7cd73c9efe6a414897ad96a3">&#9670;&nbsp;</a></span>IMG_AddUnloadFunction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__PIN__CALLBACKS.html#ga80ecde10e25aa90133f29e875d21d61d">PIN_CALLBACK</a> IMG_AddUnloadFunction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__IMG.html#ga7d103a7d0bfc05892cdf2f9d39df9eba">IMAGECALLBACK</a>&#160;</td>
          <td class="paramname"><em>fun</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">VOID *&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Register fun as a call back to be used when an image is unloaded. This is not an instrumentation function&ndash;it doesn't make sense to instrument a function when it removed from memory. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fun</td><td>passed an image and v when an image is unloaded </td></tr>
    <tr><td class="paramname">v</td><td>the value to pass to fun when an image is unloaded</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>PIN_CALLBACK A handle to a callback that can be used to further modify this callback's properties</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The pin client lock is obtained during the call of this API. </dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga93a7a90e8bba62212028ed33bbfe83b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga93a7a90e8bba62212028ed33bbfe83b2">&#9670;&nbsp;</a></span>IMG_Close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID IMG_Close </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Close the open image.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>The IMG that was previously opened.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga3a7305685873fd2f1459bb9b57252746"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3a7305685873fd2f1459bb9b57252746">&#9670;&nbsp;</a></span>IMG_DynamicRawData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID* IMG_DynamicRawData </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the pointer to the object that was passed by the application for reporting the creation of a dynamic image via the Jit Profiling API. The pointer is available only for dynamic images, and only during the image load and routine instrumentation callbacks. In all other cases, the function returns NULL.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>The Pin image handle.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to the object, or NULL. </dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT<br  />
 <b>O/S</b>: Linux*<br  />
 <b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gab35f17d40de6a4ecc51db591354d7841"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab35f17d40de6a4ecc51db591354d7841">&#9670;&nbsp;</a></span>IMG_EntryAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ADDRINT IMG_EntryAddress </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>Pin image handle </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Address of first instruction executed when image is loaded</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gae21bb2ba431c4dd7964736c8102e656e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae21bb2ba431c4dd7964736c8102e656e">&#9670;&nbsp;</a></span>IMG_FindByAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IMG IMG_FindByAddress </td>
          <td>(</td>
          <td class="paramtype">ADDRINT&#160;</td>
          <td class="paramname"><em>address</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Find image by address. For each image, check if the address is within the mapped memory region of one of its segments. </p><dl class="section return"><dt>Returns</dt><dd>IMG object, valid or invalid</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The pin client lock is obtained during the call of this API.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gac39eff1de20a6acbcecc203f5075d825"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac39eff1de20a6acbcecc203f5075d825">&#9670;&nbsp;</a></span>IMG_FindImgById()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IMG IMG_FindImgById </td>
          <td>(</td>
          <td class="paramtype">UINT32&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Find image by Id </p><dl class="section return"><dt>Returns</dt><dd>IMG object, valid or invalid</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
 <b>O/S</b>: Linux, Windows &amp; macOS*<br  />
 <b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gab4b4e29c1e70d42071380597aafd08a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab4b4e29c1e70d42071380597aafd08a8">&#9670;&nbsp;</a></span>IMG_Gp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ADDRINT IMG_Gp </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Global pointer (GP) of image, if a GP is used to address global data</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga13e68ba11d7f7922750167713cae89bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga13e68ba11d7f7922750167713cae89bd">&#9670;&nbsp;</a></span>IMG_hasLinesData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL IMG_hasLinesData </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>TRUE if img has debug information that includes the lines information.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga4f3f8677449add4d0379b5424f5dcfd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4f3f8677449add4d0379b5424f5dcfd9">&#9670;&nbsp;</a></span>IMG_HasProperty()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL IMG_HasProperty </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__IMG.html#ga38ea70f6ce2ffef5488aefbcc5494bce">IMG_PROPERTY</a>&#160;</td>
          <td class="paramname"><em>property</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Checks if image has the specificfied property </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>Pin image handle </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">property</td><td>the property to check of type <a class="el" href="group__IMG.html#ga38ea70f6ce2ffef5488aefbcc5494bce">IMG_PROPERTY</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if image supports specific property in specific mode</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga83595d9924300a59f727626ca9b8e88d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga83595d9924300a59f727626ca9b8e88d">&#9670;&nbsp;</a></span>IMG_HighAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ADDRINT IMG_HighAddress </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Tells the highest address of any code or data loaded by the image. This is the address of the last byte loaded by the image.</p>
<dl class="section remark"><dt>Remarks</dt><dd>If the image is split in memory, regions from other images might be mapped between its regions. In this case, the function will return the high address of the text segment. See <a class="el" href="group__IMG.html#gaf5fbd7cd458878d79b0fc54615fcf851">IMG_NumRegions</a>.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>The Pin image handle.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The image's highest address or the text segment high address if the image is split.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gac668f1d1f428a27bb860df384b54f589"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac668f1d1f428a27bb860df384b54f589">&#9670;&nbsp;</a></span>IMG_Id()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UINT32 IMG_Id </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a unique ID for the image. If an image is unloaded, the ID is not reused for a different image. If an image is unloaded and the same one is loaded back, the ID is different. </p><dl class="section return"><dt>Returns</dt><dd>Unique ID for the image.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
 <b>O/S</b>: Linux, Windows &amp; macOS*<br  />
 <b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gab591ec18986fb117120a714f06a35942"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab591ec18986fb117120a714f06a35942">&#9670;&nbsp;</a></span>IMG_Invalid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IMG IMG_Invalid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Used to indicate no image</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga5b0db709955ea80522d6a6355a3a1f40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5b0db709955ea80522d6a6355a3a1f40">&#9670;&nbsp;</a></span>IMG_IsInterpreter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL IMG_IsInterpreter </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>On operating systems that have the concept of loader image. (i.e. another program that is resposible to load the application), this function return TRUE for the image of the loader. In operating system that don't have the concept of loader, this function returns FALSE on all images.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>The Pin image handle.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if this is the image of the application's loader (interpreter).</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga2be7f100f47a86fadee6d0d65641e0c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2be7f100f47a86fadee6d0d65641e0c0">&#9670;&nbsp;</a></span>IMG_IsMainExecutable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL IMG_IsMainExecutable </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>TRUE for the image Pin was applied on in the command line (i.e. first param after &ndash;)</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga8ce8a798f255f0f5f9bc4763ac73ae79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8ce8a798f255f0f5f9bc4763ac73ae79">&#9670;&nbsp;</a></span>IMG_IsStaticExecutable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL IMG_IsStaticExecutable </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>TRUE if this is the static executable</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga78ab192435225bca4332a518af45a6bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga78ab192435225bca4332a518af45a6bc">&#9670;&nbsp;</a></span>IMG_IsVDSO()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL IMG_IsVDSO </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>On Linux this function return TRUE for the image of the VDSO. On other operating systems return FALSE for all images.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>The Pin image handle.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if this is the VDSO image.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gad01265ee1c2e8f4779092dae99bb2ee4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad01265ee1c2e8f4779092dae99bb2ee4">&#9670;&nbsp;</a></span>IMG_LoadOffset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ADDRINT IMG_LoadOffset </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Offset from the image's link-time address to its load-time address.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gafb09205aa6b44d2b9302fc1e422c3d75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafb09205aa6b44d2b9302fc1e422c3d75">&#9670;&nbsp;</a></span>IMG_LowAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ADDRINT IMG_LowAddress </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Tells the lowest address of any code or data loaded by the image.</p>
<dl class="section remark"><dt>Remarks</dt><dd>If the image is split in memory, regions from other images might be mapped between its regions. In this case, the function will return the low address of the text segment. See <a class="el" href="group__IMG.html#gaf5fbd7cd458878d79b0fc54615fcf851">IMG_NumRegions</a>.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>The Pin image handle.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The image's lowest address or the text segment low address if the image is split.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gab3bddc2c79c3879f91e61a11c2401f05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab3bddc2c79c3879f91e61a11c2401f05">&#9670;&nbsp;</a></span>IMG_Name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string&amp; IMG_Name </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Fully qualified actual file name of image. Image names are encoded in UTF8 (a superset of ASCII), this is supported for Linux (only for locales encoded in UTF8) and Windows</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gacba3766aac7698896fdb8b02df2a283e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacba3766aac7698896fdb8b02df2a283e">&#9670;&nbsp;</a></span>IMG_Next()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IMG IMG_Next </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Of the list of currently loaded images in memory it returns the image loaded after image x, or <a class="el" href="group__IMG.html#gab591ec18986fb117120a714f06a35942">IMG_Invalid()</a> if x is the last image</dd></dl>
<p>Skip shadow image (vdso or dynamic code)</p>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gaf5fbd7cd458878d79b0fc54615fcf851"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf5fbd7cd458878d79b0fc54615fcf851">&#9670;&nbsp;</a></span>IMG_NumRegions()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UINT32 IMG_NumRegions </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>number of consecutive regions of the image in memory</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga0a2ed1c58e7215da29194d1800ceee86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0a2ed1c58e7215da29194d1800ceee86">&#9670;&nbsp;</a></span>IMG_Open()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IMG IMG_Open </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Allows one to open an image and browse it statically. There can only be one image open at a time. File names are encoded in UTF8 (a superset of ASCII).</p>
<dl class="section note"><dt>Note</dt><dd>This API can only be used at a safe point, which is before calling <a class="el" href="group__PIN__CONTROL.html#gab466cd00518ff315446c92f98f7ea1a0">PIN_StartProgram()</a>(/or similar)</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>The image file name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The opened image, or IMG_INVALID() if the image cannot be opened.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gaaa82261cabe74bad0613c43d2346a5cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaa82261cabe74bad0613c43d2346a5cd">&#9670;&nbsp;</a></span>IMG_Prev()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IMG IMG_Prev </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Of the list of currently loaded images in memory it returns the image loaded prior to image x, or <a class="el" href="group__IMG.html#gab591ec18986fb117120a714f06a35942">IMG_Invalid()</a> if x is the first image</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gaf67b1793bdcc17e3ba1283adb79baf47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf67b1793bdcc17e3ba1283adb79baf47">&#9670;&nbsp;</a></span>IMG_RegionHighAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ADDRINT IMG_RegionHighAddress </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINT32&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the high address of the n'th region </dd></dl>
<dl class="section remark"><dt>Remarks</dt><dd>n starts at 0</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gad39ae770c8ef64ac89ddf46f68fa9398"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad39ae770c8ef64ac89ddf46f68fa9398">&#9670;&nbsp;</a></span>IMG_RegionLowAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ADDRINT IMG_RegionLowAddress </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINT32&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the low address of the n'th region </dd></dl>
<dl class="section remark"><dt>Remarks</dt><dd>n starts at 0</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga2d7ae0d04e4da064200e61750c2677ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2d7ae0d04e4da064200e61750c2677ac">&#9670;&nbsp;</a></span>IMG_RegsymHead()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SYM IMG_RegsymHead </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>First regular symbol in image</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga2f97057faee2f7ed7e23b88b339f62f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f97057faee2f7ed7e23b88b339f62f8">&#9670;&nbsp;</a></span>IMG_SecHead()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SEC IMG_SecHead </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>First section in image</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gad01a20a588a5110b1bb1361eb60eb166"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad01a20a588a5110b1bb1361eb60eb166">&#9670;&nbsp;</a></span>IMG_SecTail()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SEC IMG_SecTail </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Last section in image </dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga76799de259e3c3b0873a9d4c81745e1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga76799de259e3c3b0873a9d4c81745e1c">&#9670;&nbsp;</a></span>IMG_SizeMapped()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">USIZE IMG_SizeMapped </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Tells the size of the raw image mapped by Pin, including the size of the image's symbolic information, which is not normally mapped by the application. Use this with <a class="el" href="group__IMG.html#gae2299d042776b36435d4240a0363c28a">IMG_StartAddress()</a> to find the entire memory range of the raw image mapped by Pin.</p>
<p>Note, this does <em>not</em> give the address range of the image from the application's perspective. To get that, use <a class="el" href="group__IMG.html#gafb09205aa6b44d2b9302fc1e422c3d75">IMG_LowAddress()</a> and <a class="el" href="group__IMG.html#ga83595d9924300a59f727626ca9b8e88d">IMG_HighAddress()</a>.</p>
<p>On Linux, the file is mapped in image-load callback or after IMG_Open. In other cases the IMG_SizeMapped returns 0.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>The Pin image handle.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Size (bytes) of the raw image file mapped by Pin.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="gae2299d042776b36435d4240a0363c28a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae2299d042776b36435d4240a0363c28a">&#9670;&nbsp;</a></span>IMG_StartAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ADDRINT IMG_StartAddress </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>On Windows, the whole image has been loaded by system loader at once. <a class="el" href="group__IMG.html#gae2299d042776b36435d4240a0363c28a">IMG_StartAddress()</a> gives the pointer to the image, mapped by loader. If you are working inside image-load callback - <a class="el" href="group__IMG.html#gafb09205aa6b44d2b9302fc1e422c3d75">IMG_LowAddress()</a> and <a class="el" href="group__IMG.html#gae2299d042776b36435d4240a0363c28a">IMG_StartAddress()</a> return the same value.</p>
<p>On Unix, the loader maps only portions of the image file that contain code and data. Additionally, Pin maps the whole image file for parsing. <a class="el" href="group__IMG.html#gae2299d042776b36435d4240a0363c28a">IMG_StartAddress()</a> returns a pointer to the memory mapped file. After return form image-load callback the whole image file is being unmapped and the pointer becomes invalid. The <a class="el" href="group__IMG.html#gae2299d042776b36435d4240a0363c28a">IMG_StartAddress()</a> returns 0.</p>
<p>Note, On Unix, the <a class="el" href="group__IMG.html#gafb09205aa6b44d2b9302fc1e422c3d75">IMG_LowAddress()</a> and <a class="el" href="group__IMG.html#gae2299d042776b36435d4240a0363c28a">IMG_StartAddress()</a> return different values.</p>
<p>On <a class="el" href="group__IMG.html#ga0a2ed1c58e7215da29194d1800ceee86">IMG_Open()</a>, Pin maps the whole image into memory and the pointer is valid until <a class="el" href="group__IMG.html#ga93a7a90e8bba62212028ed33bbfe83b2">IMG_Close()</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>The Pin image handle.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the start of the raw image file.</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga987423843679af4f9d3c33b22ddec5af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga987423843679af4f9d3c33b22ddec5af">&#9670;&nbsp;</a></span>IMG_Type()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__IMG.html#ga94a20481f21c96ad7ad5147b5148ecb0">IMG_TYPE</a> IMG_Type </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Image type</dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
<a id="ga231a58e55838a4d4cbce3f7c0bfa9f0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga231a58e55838a4d4cbce3f7c0bfa9f0a">&#9670;&nbsp;</a></span>IMG_Valid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL IMG_Valid </td>
          <td>(</td>
          <td class="paramtype">IMG&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>True if x is not <a class="el" href="group__IMG.html#gab591ec18986fb117120a714f06a35942">IMG_Invalid()</a></dd></dl>
<dl class="section user"><dt>Availability:</dt><dd><b>Mode:</b> JIT &amp; Probe<br  />
<b>O/S</b>: Linux, Windows &amp; macOS*<br  />
<b>CPU:</b> All<br  />
</dd></dl>

</div>
</div>
</div><!-- contents -->
<div class="ttc" id="agroup__IMG_html_ga58c32c83de8c12d086286a5cf6c7fee8"><div class="ttname"><a href="group__IMG.html#ga58c32c83de8c12d086286a5cf6c7fee8">APP_ImgHead</a></div><div class="ttdeci">IMG APP_ImgHead()</div></div>
<div class="ttc" id="agroup__IMG_html_gacba3766aac7698896fdb8b02df2a283e"><div class="ttname"><a href="group__IMG.html#gacba3766aac7698896fdb8b02df2a283e">IMG_Next</a></div><div class="ttdeci">IMG IMG_Next(IMG img)</div></div>
<div class="ttc" id="agroup__IMG_html_ga231a58e55838a4d4cbce3f7c0bfa9f0a"><div class="ttname"><a href="group__IMG.html#ga231a58e55838a4d4cbce3f7c0bfa9f0a">IMG_Valid</a></div><div class="ttdeci">BOOL IMG_Valid(IMG img)</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
